package com.xy.blog.user.dao.model;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.time.LocalDateTime;

/**
 * @author zanhonglei
 * @version V1.0
 * @Description:
 * @date 2019/11/10 9:35 下午
 */
@Data
@Table(name = "t_account")
public class AccountDO {
    @Id
    private Long id;

    private Long userId;

    private String account;

    private String password;

    /**
     * 是否冻结
     * true 冻结
     * false 正常使用
     */
    @Column(name = "is_lock")
    private String lock;

    @Column(name = "create_time")
    private LocalDateTime createTime;
    @Column(name = "update_time")
    private LocalDateTime updateTime;

}
